<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="https://cdn.jsdelivr.net/npm/face-api.js@0.22.2/dist/face-api.min.js"></script>
    <script src="./index.js"></script>
</head>
<body>
    <div>
        <h1>人脸识别</h1>
        <div>
            <input type="file" id="file" accept="image/*">
        </div>
        <div>
            <img id="img" src="" alt="">
        </div>
        <div>
            <canvas id="canvas"></canvas>
        </div>
    </div>
</body>
</body>
</html>